package com.auroramanito.uaa.exception;

import com.auroramanito.uaa.config.Constants;
import org.zalando.problem.AbstractThrowableProblem;
import org.zalando.problem.Status;

import java.net.URI;

public class UserAccountExpiredProblem extends AbstractThrowableProblem {
    private static final URI TYPE = URI.create(Constants.PROBLEM_BASE_URI + "/user-Account-Expired");

    public UserAccountExpiredProblem() {
        super(TYPE,"未授权访问", Status.UNAUTHORIZED,"用户账户已过期，请联系管理员");
    }
}